/**
 * 
 */
package com.mc.list;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author w.weizhen
 *
 */
public class ListSortTest
{
    
    /**
     * @param args
     */
    public static void main(String[] args)
    {
        
//      Map<String, Long> map = new HashMap<String, Long>();
//      String key = "xx";
//      Long val = System.currentTimeMillis() - 1000;
//      System.out.println(val);
//      val = null;
//      map.put(key, val = System.currentTimeMillis());
//      System.out.println(map.get(key));
        
        //排序，反序。
        List<String> strs = Arrays.asList("t_proj_area_devicedata_202405","t_proj_area_devicedata_202401","t_proj_area_devicedata_202408");
        System.out.println(strs);
        Collections.sort(strs);
        System.out.println(strs);
        Collections.reverse(strs);
        System.out.println(strs);
        
        
        
    }
    
}
